package com.mzy.tomcat.servlet;

import com.mzy.tomcat.http.MzyHttpRequest;
import com.mzy.tomcat.http.MzyHttpResponse;

import java.io.IOException;

public interface Servlet {
    void init();

    void service(MzyHttpRequest request, MzyHttpResponse response) throws IOException;

    void destroy();
}
